Grammar semantics, analysis and parsing by abstract interpretation
نویسندگان
چکیده
We study abstract interpretations of a fixpoint protoderivation semantics defining the maximal derivations of a transitional semantics of context-free grammars akin to pushdown automata. The result is a hierarchy of bottom-up or top-down semantics refining the classical equational and derivational language semantics and including Knuth grammar problems, classical grammar flow analysis algorithms, and parsing algorithms.
منابع مشابه
Grammar Analysis and Parsing by Abstract Interpretation
We study abstract interpretations of a fixpoint protoderivation semantics defining the maximal derivations of a transitional semantics of context-free grammars akin to pushdown automata. The result is a hierarchy of bottom-up or top-down semantics refining the classical equational and derivational language semantics and including Knuth grammar problem, classical grammar flow analysis algorithms...
متن کاملParsing as abstract interpretation of grammar semantics
Earley’s parsing algorithm is shown to be an abstract interpretation of a refinement of the derivation semantics of context-free grammars.
متن کاملStrictness Analysis for Attribute Grammars
Attribute grammars may be seen as a (rather specialised) lazy or demand-driven programming language. The “programs” in this language take text or parse trees as input and return values of the synthesised attributes to the root as output. From this observation we establish a framework for abstract interpretation of attribute grammars. The framework is used to construct a strictness analysis for ...
متن کاملAbstract Interpretation of Algebraic Polynomial Systems
Interpretation of Algebraic Polynomial Systems (Extended Abstract) Patrick Cousot 1 and Radhia Cousot 2 1 LIENS, ~cole Normale Sup4neure, 45 rue d'Ulm, 75230 Paris cedex 05, France [email protected] http://www.dmi.ens.fr/-cousot 2 LIX, CNRS & Ecole Polytechnique, 91140 Palaiseau cedex, France [email protected] http://lix.polytechnique.fr/-rcousot Abstract. We define a hierarchy of co...
متن کاملAutomatic Verification by Abstract Interpretation
We discuss the use of abstract interpretation in the context of automatic program veri cation requiring precise abstractions. We compare entirely manual versus user-guided abstractions ranging from program-speci c abstractions including predicate abstraction to the systematic design of abstract domains and iteration strategies. 1 Abstract Interpretation Theory Abstract interpretation theory [1,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 412 شماره
صفحات -
تاریخ انتشار 2011